package indi.zhifa.recipe.bailan.framework.auth.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Configuration
@Data
@ConfigurationProperties(prefix = "user")
public class UserConfig {

    /**
     * 默认放在哪些部门中
     */
    List<DepartmentConfig> defaultDepartments;
    /**
     * 默认角色
     */
    List<String> defaultRole;
    /**
     * 密码配置
     */
    PasswdConfig passwd;
}
